$(function(){    
    $('#dialog_print_pdf').dialog({
        autoOpen: false, 
        modal:true,
        width:400,
        height:300,
        buttons: {
            Print: function(){
                $('#dialog_print_pdf').dialog('close');
            },
            Cancel: function(){
                $('#dialog_print_pdf').dialog('close');
            }
            
        }
    });
    
    $('#print_pdf').click(function(){
        $('#dialog_print_pdf').dialog('open');
    });
});

